{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="form form-horizontal" id="form" method="post" action="{:\\think\\Request::instance()->baseUrl()}">
        <input type="hidden" name="type" value="{$Request.param.type}">
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">店铺名称：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" name="store_name" class="input-text"  value="" placeholder="" >
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">店主账号：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text" name="member_name" class="input-text"  value="" placeholder="" >
                <span class="c-999">需在EHR注册过的账号，用于登录会员中心</span>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">店主卖家账号：</label>
            <div class="formControls col-xs-6 col-sm-6">
                <input type="text"  name="seller_name" class="input-text" value="" placeholder="" >
                <span class="c-999">用于登录商家中心，可与店主账号不同，但密码与店家账号的密码是一致的</span>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-primary radius">&nbsp;&nbsp;提交&nbsp;&nbsp;</button>
                <button type="button" class="btn btn-default radius ml-20" onClick="layer_close();">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
            </div>
        </div>
    </form>
    
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="/static/area/area.min.js?v=1.0"></script>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript">
    $(function () {
        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#form").Validform({
            tiptype: 2,
            ajaxPost: true,
            showAllError: true,
            callback: function (ret) {
                ajax_progress(ret);
            }
        });
    })
</script>
{/block}